package com.yhb.channel.dao.MOCK;

import org.apache.ibatis.annotations.Param;

public interface MockChannelBoundRelationshipMapper {
    int insert(
            @Param("record") MockChannelBoundRelationshipRecord record
    );

    String selectMockChannelUserIdByYHBUserId(
            @Param("userId") String userId
    );

    MockChannelBoundRelationshipRecord getRecordByCardId(
            @Param("cardId") String cardId
    );

    int updateByUserId(
            @Param("record") MockChannelBoundRelationshipRecord record
    );

    int updateByCardId(
            @Param("record") MockChannelBoundRelationshipRecord record
    );
}
